@echo off
setlocal

set yourFileName="Change this  firest !!!"

for /f "tokens=1-4 delims=/ " %%a in ('date /t') do (
    set "year=%%a"
    set "month=%%b"
    set "day=%%c"
)
for /f "tokens=1-2 delims=: " %%a in ('time /t') do (
    set "hour=%%a"
    set "minute=%%b"
)

set "formatted_date=%year%%month%%day%-%hour%%minute%"

mkdir C:\Users\%USERNAME%\AppData\Roaming\EldenRing\backups\%formatted_date%\
copy C:\Users\%USERNAME%\AppData\Roaming\EldenRing\%yourFileName%\ C:\Users\%USERNAME%\AppData\Roaming\EldenRing\backups\%formatted_date%\
copy C:\Users\%USERNAME%\AppData\Roaming\EldenRing\GraphicsConfig.xml C:\Users\%USERNAME%\AppData\Roaming\EldenRing\backups\%formatted_date%\

echo Backup archive successful, archive path is C:\Users\%USERNAME%\AppData\Roaming\EldenRing\backups\%formatted_date%\
pause

endlocal